#include <iostream>
#include <cmath>
using namespace std;
int main(){
	int n,a;
	int b;
	cin >> n;
		for (int n2 = 2;n2<=n;n2++){
		a = sqrt(n2);
		b = 0;
			for(int i = 1;i < a;i++){
				if (n2%(i+1)==0){
					b = 1;
				} 
		}
			if (b==0){
				int n4 = n-n2;
				int n5 = sqrt(n4);
						for(int i = 1;i < n5;i++){
							if (n4%(i+1)==0){
								b = 1;
							} 
					}
						if (b==0){
							cout << n << '=' << n2 << "+" << n4   ;
							return 0;
						}  
					}
			} 
		}


